<!DOCTYPE html>
<html  lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="/css/com.css"/>
		<link rel="stylesheet" type="text/css" href="/css/bootstrap.css"/>
		<script src="/js/jquery-3.3.1.js" type="text/javascript" charset="UTF-8"></script>
		<script src="/js/bootstrap.js" type="text/javascript" charset="UTF-8"></script>
		<style>
			.sub-btn{
				display: inline-block;
				width: 160px;
				height: 38px;
				margin-bottom: 10px;
			}
		</style>
	</head>
	<body>
		<div class="all">
			<div class="block">
				<!--  -->
				<div class="top-box-img">
					<div class="position">
						<span class="label label-success">
							您现在的位置：
							>
							科室导航
						</span>					
				</div>
				<div class="progress">
				  <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 50%">
				    <span class="sr-only">40% Complete (success)</span>
				  </div>
				</div>
				<div class="navigation-title">
					科室导航
				</div>
				<div class="top-box">
					<div class="deleft">
						<a href="#m1" class="a1">非手术科室</a>
						<a href="#m2" class="a2">手术科室</a>
						<a href="#m3" class="a3">诊断相关科室</a>
						<form class="form-inline" th:action="@{/querySub}" method="post">
						  <div class="form-group ks-find">
						    <label for="input-ks">科室查询</label>
						    <input type="text" class="form-control" id="input-ks" placeholder="请输入科室名称" name="subjectName"></input>
						  <input type="submit"  class="btn btn-success" value="查询" ></input>
						  </div>						  
						</form>
					</div>
				</div>
				</div>
				<div class="dep-list">
					<div class="title-ks" id="m1">
						非手术科室
					</div>
					<ul class="dev-ul">
						<li th:each="sub : ${nooperative}"><a th:text="${sub.subjectName}" th:href="@{/querySub(subjectName=${sub.subjectName})}" type="button" class="btn btn-default sub-btn"><span class="glyphicon glyphicon-heart-empty" aria-hidden="true" th:href="@{/querySub(subjectName=${sub.subjectName})}"></span>测试</a></li>
					</ul>
					<div class="title-ks" id="m2">
						手术科室
					</div>
					<ul class="dev-ul">
						<li th:each="sub : ${operative}"><a th:text="${sub.subjectName}" type="button" class="btn btn-default sub-btn"  aria-label="Left Align"><span class="glyphicon glyphicon-heart-empty" aria-hidden="true"  th:href="@{/querySub(subjectName=${sub.subjectName})}"></span>测试</a></li>
					</ul>
					<div class="title-ks" id="m3">
						诊断相关科室
					</div>
					<ul class="dev-ul">
						<li th:each="sub : ${diagnosis}"><a th:text="${sub.subjectName}" type="button" class="btn btn-default sub-btn"  aria-label="Left Align"><span class="glyphicon glyphicon-heart-empty" aria-hidden="true"></span>测试</a></li>
					</ul>
				</div>
			</div>
		</div>
	</body>
</html>
